-- GENERATED SPELL FOR [Argent Soldier] --


function spell0_28041(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(50370,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28041', 15261, 1)
end

function Sorts_28041(pUnit, Event)
local choix_sorts_28041 = math.random(0, 0)
if choix_sorts_28041 == 0 then
pUnit:RegisterEvent('spell0_28041', 1, 1)
end
end

function mob28041_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28041', math.random(1500, 3000), 1)
end

function mob28041_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28041_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28041_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28041, 1, 'mob28041_Action')
RegisterUnitEvent(28041, 2, 'mob28041_Leave')
RegisterUnitEvent(28041, 3, 'mob28041_Kill')
RegisterUnitEvent(28041, 4, 'mob28041_Die')
